﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace DrawOnDesktop
{
    abstract public class FigureEx
    {
        public Point StartPoint;
        public Point EndPoint;
        public Color FColor;
        public static int ShapeNum = 3;
    }
    public class Line : FigureEx
    {
        public Line()
        {
            FColor = Color.Red;
        }
    }
    public class Rect : FigureEx
    {
        public Rect()
        {
            FColor = Color.Blue;
        }
    }
    public class Circle : FigureEx
    {
        public Circle()
        {
            FColor = Color.Green;
        }
    }
}
